package com.example.model_service.service;

import com.example.model_service.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.model_service.dto.LoginDTO;
import com.example.model_service.dto.UpdateDTO;
import com.example.model_service.vo.Result;
import org.springframework.web.multipart.MultipartFile;

/**
* @author 31586
* @description 针对表【model_user】的数据库操作Service
* @createDate 2024-08-16 15:55:09
*/
public interface UserService extends IService<User> {

    Result login(LoginDTO loginDTO);

    Result register(LoginDTO loginDTO);

    Result updateUser(UpdateDTO dto);

    Result uploadImg(MultipartFile file, Integer userId);
}
